package wang.aweb.childcar.service;

import com.github.pagehelper.PageInfo;
import wang.aweb.childcar.model.pojo.Fence;
import wang.aweb.childcar.model.req.FenceDeviceReq;
import wang.aweb.childcar.model.req.FenceReq;

import java.util.List;

public interface FenceService {
    PageInfo selectList(Integer page, Integer limit);

    void add(FenceReq fenceReq);

    Fence getInfo(int id);

    void update(FenceReq fenceReq);

    void delete(Integer id);

    List<Fence> getAll();
}
